auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX-devel] amsrefs support in reftex - where to start?


From: Tassilo Horn
Subject: Re: [AUCTeX-devel] amsrefs support in reftex - where to start?
Date: Fri, 07 Oct 2016 18:40:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Marcin Borkowski <address@hidden> writes:

Hi Marcin,

> 1. Where I should look to see how the bibentries (I mean, the ones in
> the LaTeX file, not the ones in .bib files) are parsed?  I could analyse
> that code and come up with a similar device for amsrefs entries.

That's `reftex-extract-bib-entries-from-thebibliography' in reftex-cite.el.

> 2. WHere I should put the check for \usepackage{amsrefs} so that I can
> turn my device on?

There's already a function `reftex-bib-or-thebib' which could be
extended.  That relies on reftex already having parsed your document, so
you'd need to extend the parser (`reftex-parse-from-file').

Bye,
Tassilo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]