[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] RefTeX cannot manage multiple "bibliography" macros
From: |
Tassilo Horn |
Subject: |
Re: [Bug-AUCTeX] RefTeX cannot manage multiple "bibliography" macros |
Date: |
Mon, 04 Nov 2013 08:35:55 +0100 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
Mosè Giordano <address@hidden> writes:
Hi!
> actually your change does fix the problem for me, and now I can add
> keys from both database files :-) `LaTeX-bibliography-list' has both
> files and `LaTeX-bibitem-list' contains keys from both files. The
> only, minor, problem is that one has to revert the buffer to fill
> `LaTeX-bibitem-list' after the database files are added with `C-c RET
> bibliography/addbibresource RET'.
Hm, when I find the existing file
--8<---------------cut here---------------start------------->8---
\documentclass{article}
\usepackage{biblatex}
\addbibresource{texbook1.bib}
\addbibresource{texbook2.bib}
\begin{document}
\printbibliography
\end{document}
--8<---------------cut here---------------end--------------->8---
`LaTeX-bibliography-list' contains both bib files, but
`LaTeX-bibitem-list' is nil. Thus, C-c [ completes nothing (but the bib
menu is correct). After picking one entry from that, the next C-c [
completes only the chosen entry.
> Maybe we can add a `TeX-run-style-hooks' inside `TeX-arg-bibliography'
> and `LaTeX-arg-addbibresource', what do you think?
Could you elaborate what and why that would achieve?
Bye,
Tassilo