[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] RefTeX cannot manage multiple "bibliography" macros
From: |
Mosè Giordano |
Subject: |
Re: [Bug-AUCTeX] RefTeX cannot manage multiple "bibliography" macros |
Date: |
Sat, 2 Nov 2013 19:49:16 +0100 |
Hi Tassilo,
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'. Maybe we can add a
`TeX-run-style-hooks' inside `TeX-arg-bibliography' and
`LaTeX-arg-addbibresource', what do you think?
Thank you so much,
bye,
Mosè
2013/11/1 Tassilo Horn <address@hidden>:
> Mosè Giordano <address@hidden> writes:
>
> Hi Mosè,
>
>> Following is a minimal working example.
>
> Thank you!
>
> I think I have fixed the problem in revno 114894 on the emacs trunk, at
> least the reftex side of the problem. (reftex-get-bibfile-list) now
> works correctly (returns both files), but the prompt you get when doing
> C-c [ only completes the entry from the first bib file.
>
> However, that's not a reftex but an AUCTeX problem, because when AUCTeX
> is installed/loaded, `reftex-citation' calls `LaTeX-bibitem-list' to get
> the bib entries.
>
> I don't have time to look into the AUCTeX side of the problem right now.
> Feel free to have a look yourself. :-)
>
> Bye,
> Tassilo