Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Emacs reftex has a command reftex-create-bibtex-file that searches the current .tex file and creates a bibliography (.bib) of all cited works. The problem is, that while it picks up \cite{foo} it doesn't spot \cite[bar]{foo} which is annoying. Is there a way to make this function recognise (and ignore) option arguments on cite macros?

share|improve this question
    
old.nabble.com/… refers to the same problem. I guess this problems can be solved if one manages to redefine the regexp in the function such that [bar] is optional between \cite and {foo}. I tried to find the definition of the function by find-function but it fails –  N.N. Feb 6 '12 at 18:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.