[YLUG] LaTeX query: Abbreviating journal titles with BibTeX
Arthur Clune
arthur at clune.org
Wed Jan 2 20:23:19 GMT 2008
On 2 Jan 2008, at 19:45, Roger Leigh wrote:
> For example: "Proceedings of the National Academy of Sciences of the
> United States of America" to "Proc Natl Acad Sci U S A".
Do you want the abbreviations already defined? cb2bib has what looks
like a useful list:
http://www.molspaces.com/d_cb2bib-download.php
Given that, if you could hook some perl/python/ruby into the build
processes you could do what you want.
As ever with data munging, the problem is fuzzy matching. e.g. for
your example:
biber:~/Desktop/cb2bib-0.9.2 539: grep -i 'National Academy' data/
abbreviations.txt
PNAS|Proc. Natl. Acad. Sci. USA|Proceedings of the National Academy of
Sciences
So the full name doesn't quite match what you have. That could be
worked around with some regex fuzziness but it might lead to a lot
of special casing. Or not. Depends on your data :)
Arthur
--
Arthur Clune UK Honeynet Project arthur at honeynet.org.uk
www.ukhoneynet.org
More information about the York
mailing list