[xml/sgml-pkgs] Bug#869618: bib2ris ignores year

Markus Hoenicka markus.hoenicka at mhoenicka.de
Tue Jul 25 21:45:52 UTC 2017


Am 2017-07-25 00:13, schrieb Leon Meier:
> Package: refdb-clients
> Version: 1.0.2-3
> 
> The year field in the .bib files is ignored. Example input file 
> mybiblio.bib:
> 
> @article{entry,
>   author    = {John Smith},
>   title     = {Awesome Title},
>   journal = {JACM},
>   year      = {2006},
>   pages     = {1--2}
> }
> 
> Running `bib2ris mybiblio.bib` results in
> 
> TY  - JOUR
> ID  - entry
> AU  - Smith,John
> JF  - JACM
> SP  - 1
> EP  - 2
> PY  - ///
> TI  - Awesome Title
> ER  -
> 
> As you see, the year is missing in the output. Trying various
> command-line options did not help. Any improvement would be greatly
> appreciated.
> 
> Thanks in advance!
> Leon

Hi,

this is a little weird. I run the current svn version both on FreeBSD 
and on Debian. On both systems, your test file converts to:

markus at wallaby:~/workspace/refdb$ bib2ris < bib2ristest.bib

TY  - JOUR
ID  - entry
AU  - Smith,John
JF  - JACM
SP  - 1
EP  - 2
PY  - 2006///
TI  - Awesome Title
ER  -

which looks alright to me. There were no recent changes to the bib2ris 
code, so your version should be up-to-date. What OS do you run? 
Ports/packages or compiled from sources? What version of the btparse 
library? Do you have any entries in your global or personal bib2risrc 
files?

regards,
Markus

-- 
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38



More information about the debian-xml-sgml-pkgs mailing list