Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

BIB[La]TeX authorname-parsing algorithm

0 views
Skip to first unread message

Peter Flynn

unread,
Nov 21, 2009, 12:32:44 PM11/21/09
to
I want to point the authors of a bibliographic package at the algorithm
(or its implementation) for parsing author (or editor) names, as done in
BIBTeX, biblatex, etc.

Is this available as a separate file, or is it the code which is
embedded in the bibtex/base/bst/*.bst files? Is it documented anywhere?

///Peter

Joseph Wright

unread,
Nov 21, 2009, 12:39:40 PM11/21/09
to

I assume you mean the one in BibTeX that can understand

Other, A. N., III and Fred Bloggs and ...

and pick out the names and separate parts. I'd probably take a look at
either the BibTeX source or the code for biblatex-biber (which must
implement the same thing in Perl).
--
Joseph Wright

Adam R. Maxwell

unread,
Nov 22, 2009, 3:29:27 PM11/22/09
to

AFAIK you'd have to read the BibTeX source itself for that. The
btparse library implementation is described here, though:

http://cpansearch.perl.org/src/AMBS/btparse-0.35/doc/bt_split_names.pod

BibDesk uses the btparse C library for parsing, and it's been quite
good (and is well documented).

--
Adam Maxwell

0 new messages