Menu

#21 Cite Bibtex and ref completion

open-works-for-me
nobody
None
5
2010-06-24
2010-06-21
Anonymous
No

It seems that the Tex_UseCiteCompletionVer2 method completing cites can not handle bibtex files included by input command. It only search for Bibtex inclusion in the main file. But it should search in the subfiles, too.

The attached patch adds this feature to the new completion method and works for me.

SVN revision: 1106

Discussion

  • Anonymous

    Anonymous - 2010-06-22

    The patch only searched direct in the latexmain or an included file for bib. For a full search a recursion (as in the old Tex_Grep... stuff) has to be added.

     
  • Anonymous

    Anonymous - 2010-06-22
    • status: open --> open-works-for-me
     
  • Anonymous

    Anonymous - 2010-06-23
    • status: open-works-for-me --> open
     
  • Anonymous

    Anonymous - 2010-06-23

    I think there is something wrong with the outline.py. The \autoref command doesn't work, too. I just get an empty outline window when searching for labels.

     
  • Anonymous

    Anonymous - 2010-06-24

    I have looked through the outline and bibtex completion again and discovered following additional problems:
    - completing a label not working when spaces before file inclusion commands
    - bibtex not searched recursively

    I solved these issues with the attached patch: Recursive search was already implemented for outlines in outline.py. That is why I called most of the outline methods in a new file doing the same thing for Bibtex, bibtex.py. The recursive search is working now.
    The outline.py wanted the inclusion commands right after the newline. But I think an white space should be allowed before it, at least to make the methods more stable. I have added this to the outline.py.

     
  • Anonymous

    Anonymous - 2010-06-24
    • summary: Cite completion: included files not searched --> Cite Bibtex and ref completion
    • status: open --> open-works-for-me
     

Log in to post a comment.