[IPOL discuss] article references [Re: publishing the LaTeX source ..]

Pascal Monasse monasse at imagine.enpc.fr
Thu Mar 28 09:53:50 CET 2013


On Wednesday, March 27, 2013 08:29:31 PM Miguel Colom wrote:
> Quoting Nicolas Limare <nicolas.limare at cmla.ens-cachan.fr>:
> >> If the bibtext file is available, it can be easy converted to XML
> >> using bib2xml [1] from the bibutils package [2]. Then, parsing the
> >> XML is quite easy.
> > 
> > But the BibTeX file may contain references not appearing in the
> > paper. So it has to be manually filtered.
> 
> Why manually? It should be easy to look for the \cite command by
> matching a regular expression in the LaTeX source and extracting the
> reference code, to check if a given reference is cited or not.

Much easier would be to parse the .bbl file generated from LaTeX compilation. 
Only the citations used in the article would be there.

Pascal


More information about the discuss mailing list