[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] RefTeX: Create BibTeX file misses citations
From: |
Wolfgang Mayer |
Subject: |
Re: [AUCTeX-devel] RefTeX: Create BibTeX file misses citations |
Date: |
Wed, 25 Feb 2009 20:01:55 +1030 |
User-agent: |
Thunderbird 2.0.0.19 (X11/20081209) |
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 <address@hidden>
* 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: address@hidden