whenparsing
[email protected] (Thomas M. Widmann) 10 Apr 2003 00:27:06 +0100
| Newsgroups | gmane.comp.tex.bibulus.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I just added a function to Bibulus.pm so that the user can do things
with the entries.
For instance, if the user wants to add 754 to the year to get it _ab
urbe condita_ (after the foundation of Rome), s/he just adds the
following to the Perl file (e.g., doc/testmain) before the call to
load:
$bib->whenparsing('year',
sub {
$_[0] + 754;
});
What do you all think?
/Thomas
--
\author{Thomas Widmann\thanks{3/2, 54 Mavisbank Gardens, Glasgow G51\,1HL,
Scotland, EU\@. Tel.~+44 (141) 419\,9872.}\\{\tt [email protected]}}