I forgot to add instructions to the test case:

% Select Global Actions/Create BibTeX file
%
% Result: only the entry for `citeb' is present in the created bib file.
%
% Expected: entries for `citea' and `citeb' should be present.
%
\documentclass{article}
\begin{document}

\cite{citea} and \cite{citeb}

\bibliographystyle{plain}
\bibliography{test}
\end{document}


- Wolfgang

Wolfgang Mayer wrote:
reftex-all-used-citation-keys extracts only the cite keys that appear in the last \cite{} command in a line, but skips other \cite{}'s on the same line.

Enclosed are:
* a test case to demonstrate the problem (.tex and .bib file)
    (tested using Emacs 22.3.1, today's CVS checkout, reftex-cite.el revision 
1.52)
* a patch to fix it.


A proposed changelog entry (feel free to change as desired):

2009-02-25  Wolfgang Mayer  <[email protected]>

        * lisp/reftex-cite.el (reftex-all-used-citation-keys):
        Fix regexp to correctly extract all citations in the same line.



Regards,

- Wolfgang



--
Wolfgang Mayer

Advanced Computing Research Centre
University of South Australia
Mawson Lakes Boulevard, Mawson Lakes
SA 5095, Adelaide, Australia
Room D3-28
Phone: (+61) (8) 8302 5567
Fax:   (+61) (8) 8302 3988
Email: [email protected]



_______________________________________________
auctex-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to